home *** CD-ROM | disk | FTP | other *** search
- /* SetEnv RecentState to Yes */
- /* (my StartNet copies the AmiNet recent file if this var. is set) */
- /* SetOwner is a MultiUser command, this will just make sure that it can be deleted again (by everyone) */
- /* Finally it adds an event in 6 days (which will execute this script) */
-
- Options Results
-
- Address Command
- 'Echo >EnvArc:RecentState "Yes"'
- 'SetEnv RecentState Yes'
- 'SetOwner EnvArc:RecentState nobody'
- 'Wait 5'
-
- Address 'MaylandRexx'
- SecondsToDate Date('I')*24*60*60 + Time('S') + (6*24*60*60)
- AddDate SubWord(RESULT,1,3) 19 30 After '-1' Name '"Get AmiNet Recent file"' Command '"Rexx:Mayland/AddIn6Days.Rexx"' DeleteAfterUse
-
- Exit
-